package com.ruoyi.baseData.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.common.core.annotation.Query;
import com.ruoyi.common.core.web.page.PageSize;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MaterialTypeDto  extends PageSize {
    private Long id;

    /**
     *
     */
    @Query(type = Query.Type.INNER_LIKE, propName = "code")
    private String code;

    /**
     *
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String name;


    /**
     * 配置质检模板
     */
    private Long inspectionTemplateId;
    /**
     * 质检模板名称
     */
    private String inspectionTemplateName;

    private Long samplingLabId;

    private String samplingLabName;

    private Long samplingAppearanceId;

    private String samplingAppearanceName;


    private Long samplingPackageId;
    private String samplingPackageName;


    private Long samplingSizeId;
    private String samplingSizeName;


    private Long samplingInterfaceId;
    private String samplingInterfaceName;

//    @Query(type = Query.Type.BETWEEN)
//    private List<Date> createTime;



}
